<%@page contentType="text/html; charset=UTF-8"%>
<!<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>欢迎使用oa</title>
    <style>
        table{
            margin:100px auto;
            border-collapse: collapse;
            border: 2px orangered solid;
            width: 50%;
            height: 200px;
            text-align: center;
        }
        tr td {
            border: orangered 2px solid;

            text-align: center;
        }
    </style>
</head>
<body>

<%--    注意这里的路径之后不能有空格,也不能有分号   --%>
<%--    <a href="<%= request.getContextPath()%>/dept/list">查看部门列表 </a>--%>
    <form action="http://localhost:8080<%=request.getContextPath()%>/user/login" method="post">
        <table>
            <tr>
                <td>用户名</td>
                <td><input type="text" name="username"></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="text" name="password"></td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="Login">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>